Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-MedicationKnowledge4to5.html |
Url | http://hl7.org/fhir/StructureMap/MedicationKnowledge4to5 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | MedicationKnowledge4to5 |
Title | MedicationKnowledge Transforms: R4 to R5 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | MedicationKnowledgeTransformsR4toR5 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/MedicationKnowledge4to5' /// name = 'MedicationKnowledge4to5' /// title = 'MedicationKnowledge Transforms: R4 to R5' /// status = 'active' uses "http://hl7.org/fhir/4.0/MedicationKnowledge" alias MedicationKnowledgeR4 as source uses "http://hl7.org/fhir/5.0/MedicationKnowledge" alias MedicationKnowledgeR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group MedicationKnowledge(source src : MedicationKnowledgeR4, target tgt : MedicationKnowledgeR5) extends DomainResource <<type+>> { src.code -> tgt.code; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/MedicationKnowledge.status-R4toR5', 'code'); src.synonym -> tgt.name; src.relatedMedicationKnowledge as s -> tgt.relatedMedicationKnowledge as t then MedicationKnowledgeRelatedMedicationKnowledge(s, t); src.associatedMedication -> tgt.associatedMedication; src.productType -> tgt.productType; src.monograph as s -> tgt.monograph as t then MedicationKnowledgeMonograph(s, t); src.preparationInstruction -> tgt.preparationInstruction; src.cost as s -> tgt.cost as t then MedicationKnowledgeCost(s, t); src.monitoringProgram as s -> tgt.monitoringProgram as t then MedicationKnowledgeMonitoringProgram(s, t); src.administrationGuidelines as s -> tgt.indicationGuideline as t then MedicationKnowledgeIndicationGuideline(s, t); src.medicineClassification as s -> tgt.medicineClassification as t then MedicationKnowledgeMedicineClassification(s, t); src.regulatory as s -> tgt.regulatory as t then MedicationKnowledgeRegulatory(s, t); src.drugCharacteristic as s -> tgt.definitional as t then MedicationKnowledgeDefinitional(s, t); } group MedicationKnowledgeRelatedMedicationKnowledge(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.reference -> tgt.reference; } group MedicationKnowledgeMonograph(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.source -> tgt.source; } group MedicationKnowledgeCost(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.source -> tgt.source; src.cost : Money -> tgt.cost; } group MedicationKnowledgeMonitoringProgram(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.name -> tgt.name; } group MedicationKnowledgeIndicationGuideline(source src, target tgt) extends BackboneElement { src.indication : CodeableConcept -> tgt.indication; src.indication : Reference -> tgt.indication; src.dosage as s -> tgt.dosingGuideline as t, t.dosage = create('BackboneElement') as td then MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage(s, td); src.patientCharacteristics as s -> tgt.dosingGuideline as t then { s.value as v -> t.patientCharacteristic as tp, tp.type = create('CodeableConcept') as tc, tc.text = v; s.characteristic : CodeableConcept as v -> t.patientCharacteristic as tp, tp.value = v; s.characteristic : Quantity as v -> t.patientCharacteristic as tp, tp.value = v; }; } // group MedicationKnowledgeIndicationGuidelineDosingGuideline(source src, target tgt) extends BackboneElement { // src.treatmentIntent -> tgt.treatmentIntent; // src as s -> tgt.dosage as t then MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage(s,t); // src.administrationTreatment -> tgt.administrationTreatment; // src.patientCharacteristic as s -> tgt.patientCharacteristic as t then MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(s,t); // } group MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.dosage -> tgt.dosage; } // group MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(source src, target tgt) extends BackboneElement { // src.type -> tgt.type; // src.value : CodeableConcept -> tgt.value; // src.value : Quantity -> tgt.value; // src.value : Range -> tgt.value; // } group MedicationKnowledgeMedicineClassification(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.classification -> tgt.classification; } // group MedicationKnowledgePackaging(source src, target tgt) extends BackboneElement { // src.packagedProduct -> tgt.packagedProduct; // } // group MedicationKnowledgeStorageGuideline(source src, target tgt) extends BackboneElement { // src.reference -> tgt.reference; // src.note -> tgt.note; // src.stabilityDuration -> tgt.stabilityDuration; // src.environmentalSetting as s -> tgt.environmentalSetting as t then MedicationKnowledgeStorageGuidelineEnvironmentalSetting(s,t); // } // group MedicationKnowledgeStorageGuidelineEnvironmentalSetting(source src, target tgt) extends BackboneElement { // src.type -> tgt.type; // src.value : Quantity -> tgt.value; // src.value : Range -> tgt.value; // src.value : CodeableConcept -> tgt.value; // } group MedicationKnowledgeRegulatory(source src, target tgt) extends BackboneElement { src.regulatoryAuthority -> tgt.regulatoryAuthority; src.substitution as s -> tgt.substitution as t then MedicationKnowledgeRegulatorySubstitution(s, t); src.schedule as s -> tgt.schedule = s.schedule; src.maxDispense as s -> tgt.maxDispense as t then MedicationKnowledgeRegulatoryMaxDispense(s, t); } group MedicationKnowledgeRegulatorySubstitution(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.allowed -> tgt.allowed; } group MedicationKnowledgeRegulatoryMaxDispense(source src, target tgt) extends BackboneElement { src.quantity -> tgt.quantity; src.period -> tgt.period; } group MedicationKnowledgeDefinitional(source src, target tgt) extends BackboneElement { src.type as s -> tgt.drugCharacteristic as t, t.type = s; src.value : CodeableConcept as s -> tgt.drugCharacteristic as t, t.value = s; src.value : string as s -> tgt.drugCharacteristic as t, t.value = s; src.value : Quantity as s -> tgt.drugCharacteristic as t, t.value = s; src.value : base64Binary as s -> tgt.drugCharacteristic as t, t.value = s; }
{
"resourceType" : "StructureMap",
"id" : "MedicationKnowledge4to5",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/MedicationKnowledge4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MedicationKnowledge4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'MedicationKnowledge Transforms: R4 to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/MedicationKnowledge<span style=\"color: navy\">" </span><b>alias </b>MedicationKnowledgeR4 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/5.0/MedicationKnowledge<span style=\"color: navy\">" </span><b>alias </b>MedicationKnowledgeR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>MedicationKnowledge<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>MedicationKnowledgeR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>MedicationKnowledgeR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/MedicationKnowledge.status-R4toR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.synonym<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.relatedMedicationKnowledge<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.relatedMedicationKnowledge<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeRelatedMedicationKnowledge<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.associatedMedication<span style=\"color: navy\"><b> -> </b></span>tgt.associatedMedication<span style=\"color: navy\">;</span>\r\n src.productType<span style=\"color: navy\"><b> -> </b></span>tgt.productType<span style=\"color: navy\">;</span>\r\n src.monograph<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.monograph<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeMonograph<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.preparationInstruction<span style=\"color: navy\"><b> -> </b></span>tgt.preparationInstruction<span style=\"color: navy\">;</span>\r\n src.cost<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.cost<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeCost<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.monitoringProgram<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.monitoringProgram<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeMonitoringProgram<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.administrationGuidelines<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.indicationGuideline<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeIndicationGuideline<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.medicineClassification<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.medicineClassification<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeMedicineClassification<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.regulatory<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.regulatory<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeRegulatory<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.drugCharacteristic<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.definitional<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeDefinitional<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicationKnowledgeRelatedMedicationKnowledge<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.reference<span style=\"color: navy\"><b> -> </b></span>tgt.reference<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicationKnowledgeMonograph<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.source<span style=\"color: navy\"><b> -> </b></span>tgt.source<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicationKnowledgeCost<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.source<span style=\"color: navy\"><b> -> </b></span>tgt.source<span style=\"color: navy\">;</span>\r\n src.cost<span style=\"color: navy\"> : </span>Money<span style=\"color: navy\"><b> -> </b></span>tgt.cost<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicationKnowledgeMonitoringProgram<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicationKnowledgeIndicationGuideline<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.indication<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.indication<span style=\"color: navy\">;</span>\r\n src.indication<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.indication<span style=\"color: navy\">;</span>\r\n src.dosage<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.dosingGuideline<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.dosage = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'BackboneElement'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">td</span><b> then </b>MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">td</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.patientCharacteristics<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.dosingGuideline<b> as </b><span style=\"color: maroon\">t</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> t.patientCharacteristic<b> as </b><span style=\"color: maroon\">tp</span><span style=\"color: navy\">, </span> tp.type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.text = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n s.characteristic<span style=\"color: navy\"> : </span>CodeableConcept<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> t.patientCharacteristic<b> as </b><span style=\"color: maroon\">tp</span><span style=\"color: navy\">, </span> tp.value = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n s.characteristic<span style=\"color: navy\"> : </span>Quantity<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> t.patientCharacteristic<b> as </b><span style=\"color: maroon\">tp</span><span style=\"color: navy\">, </span> tp.value = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgeIndicationGuidelineDosingGuideline(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.treatmentIntent -> tgt.treatmentIntent;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">src as s -> tgt.dosage as t then MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage(s,t);</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.administrationTreatment -> tgt.administrationTreatment;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.patientCharacteristic as s -> tgt.patientCharacteristic as t then MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(s,t);</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.dosage<span style=\"color: navy\"><b> -> </b></span>tgt.dosage<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : CodeableConcept -> tgt.value;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : Quantity -> tgt.value;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : Range -> tgt.value;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>MedicationKnowledgeMedicineClassification<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.classification<span style=\"color: navy\"><b> -> </b></span>tgt.classification<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgePackaging(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.packagedProduct -> tgt.packagedProduct;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgeStorageGuideline(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.reference -> tgt.reference;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.note -> tgt.note;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.stabilityDuration -> tgt.stabilityDuration;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.environmentalSetting as s -> tgt.environmentalSetting as t then MedicationKnowledgeStorageGuidelineEnvironmentalSetting(s,t);</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgeStorageGuidelineEnvironmentalSetting(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : Quantity -> tgt.value;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : Range -> tgt.value;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : CodeableConcept -> tgt.value;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>MedicationKnowledgeRegulatory<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.regulatoryAuthority<span style=\"color: navy\"><b> -> </b></span>tgt.regulatoryAuthority<span style=\"color: navy\">;</span>\r\n src.substitution<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.substitution<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeRegulatorySubstitution<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.schedule<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.schedule = <span style=\"color: maroon\">s.schedule</span><span style=\"color: navy\">;</span>\r\n src.maxDispense<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.maxDispense<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicationKnowledgeRegulatoryMaxDispense<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicationKnowledgeRegulatorySubstitution<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.allowed<span style=\"color: navy\"><b> -> </b></span>tgt.allowed<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicationKnowledgeRegulatoryMaxDispense<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicationKnowledgeDefinitional<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.type = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>CodeableConcept<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>string<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Quantity<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>base64Binary<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/MedicationKnowledge4to5",
"version" : "0.1.0",
"name" : "MedicationKnowledge4to5",
"title" : "MedicationKnowledge Transforms: R4 to R5",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "MedicationKnowledgeTransformsR4toR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.0/MedicationKnowledge",
"mode" : "source",
"alias" : "MedicationKnowledgeR4"
},
{
"url" : "http://hl7.org/fhir/5.0/MedicationKnowledge",
"mode" : "target",
"alias" : "MedicationKnowledgeR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4to5"
],
"group" : [
{
"name" : "MedicationKnowledge",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "MedicationKnowledgeR4",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "MedicationKnowledgeR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/MedicationKnowledge.status-R4toR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "synonym",
"source" : [
{
"context" : "src",
"element" : "synonym",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "relatedMedicationKnowledge",
"source" : [
{
"context" : "src",
"element" : "relatedMedicationKnowledge",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relatedMedicationKnowledge",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeRelatedMedicationKnowledge",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "associatedMedication",
"source" : [
{
"context" : "src",
"element" : "associatedMedication",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "associatedMedication",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "productType",
"source" : [
{
"context" : "src",
"element" : "productType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "productType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "monograph",
"source" : [
{
"context" : "src",
"element" : "monograph",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "monograph",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeMonograph",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "preparationInstruction",
"source" : [
{
"context" : "src",
"element" : "preparationInstruction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "preparationInstruction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "cost",
"source" : [
{
"context" : "src",
"element" : "cost",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "cost",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeCost",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "monitoringProgram",
"source" : [
{
"context" : "src",
"element" : "monitoringProgram",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "monitoringProgram",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeMonitoringProgram",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "administrationGuidelines",
"source" : [
{
"context" : "src",
"element" : "administrationGuidelines",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "indicationGuideline",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeIndicationGuideline",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "medicineClassification",
"source" : [
{
"context" : "src",
"element" : "medicineClassification",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "medicineClassification",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeMedicineClassification",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "regulatory",
"source" : [
{
"context" : "src",
"element" : "regulatory",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "regulatory",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeRegulatory",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "drugCharacteristic",
"source" : [
{
"context" : "src",
"element" : "drugCharacteristic",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "definitional",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeDefinitional",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeRelatedMedicationKnowledge",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "reference",
"source" : [
{
"context" : "src",
"element" : "reference",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reference",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeMonograph",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "source",
"source" : [
{
"context" : "src",
"element" : "source",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeCost",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "source",
"source" : [
{
"context" : "src",
"element" : "source",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "costMoney",
"source" : [
{
"context" : "src",
"type" : "Money",
"element" : "cost",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "cost",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeMonitoringProgram",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeIndicationGuideline",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "indicationCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "indication",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "indication",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "indicationReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "indication",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "indication",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "dosage",
"source" : [
{
"context" : "src",
"element" : "dosage",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dosingGuideline",
"variable" : "t"
},
{
"context" : "t",
"element" : "dosage",
"variable" : "td",
"transform" : "create",
"parameter" : [
{
"valueString" : "BackboneElement"
}
]
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "td"
}
]
}
]
},
{
"name" : "patientCharacteristics",
"source" : [
{
"context" : "src",
"element" : "patientCharacteristics",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dosingGuideline",
"variable" : "t"
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "s",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "t",
"element" : "patientCharacteristic",
"variable" : "tp"
},
{
"context" : "tp",
"element" : "type",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "text",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "characteristicCodeableConcept",
"source" : [
{
"context" : "s",
"type" : "CodeableConcept",
"element" : "characteristic",
"variable" : "v"
}
],
"target" : [
{
"context" : "t",
"element" : "patientCharacteristic",
"variable" : "tp"
},
{
"context" : "tp",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "characteristicQuantity",
"source" : [
{
"context" : "s",
"type" : "Quantity",
"element" : "characteristic",
"variable" : "v"
}
],
"target" : [
{
"context" : "t",
"element" : "patientCharacteristic",
"variable" : "tp"
},
{
"context" : "tp",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage",
"extends" : "BackboneElement",
"documentation" : "group MedicationKnowledgeIndicationGuidelineDosingGuideline(source src, target tgt) extends BackboneElement {\r\nsrc.treatmentIntent -> tgt.treatmentIntent;\r\nsrc as s -> tgt.dosage as t then MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage(s,t);\r\nsrc.administrationTreatment -> tgt.administrationTreatment;\r\nsrc.patientCharacteristic as s -> tgt.patientCharacteristic as t then MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(s,t);\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "dosage",
"source" : [
{
"context" : "src",
"element" : "dosage",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dosage",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeMedicineClassification",
"extends" : "BackboneElement",
"documentation" : "group MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.value : CodeableConcept -> tgt.value;\r\nsrc.value : Quantity -> tgt.value;\r\nsrc.value : Range -> tgt.value;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "classification",
"source" : [
{
"context" : "src",
"element" : "classification",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "classification",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeRegulatory",
"extends" : "BackboneElement",
"documentation" : "group MedicationKnowledgePackaging(source src, target tgt) extends BackboneElement {\r\nsrc.packagedProduct -> tgt.packagedProduct;\r\n}\r\ngroup MedicationKnowledgeStorageGuideline(source src, target tgt) extends BackboneElement {\r\nsrc.reference -> tgt.reference;\r\nsrc.note -> tgt.note;\r\nsrc.stabilityDuration -> tgt.stabilityDuration;\r\nsrc.environmentalSetting as s -> tgt.environmentalSetting as t then MedicationKnowledgeStorageGuidelineEnvironmentalSetting(s,t);\r\n}\r\ngroup MedicationKnowledgeStorageGuidelineEnvironmentalSetting(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.value : Quantity -> tgt.value;\r\nsrc.value : Range -> tgt.value;\r\nsrc.value : CodeableConcept -> tgt.value;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "regulatoryAuthority",
"source" : [
{
"context" : "src",
"element" : "regulatoryAuthority",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "regulatoryAuthority",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "substitution",
"source" : [
{
"context" : "src",
"element" : "substitution",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "substitution",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeRegulatorySubstitution",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "schedule",
"source" : [
{
"context" : "src",
"element" : "schedule",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "schedule",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s.schedule"
}
]
}
]
},
{
"name" : "maxDispense",
"source" : [
{
"context" : "src",
"element" : "maxDispense",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "maxDispense",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MedicationKnowledgeRegulatoryMaxDispense",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeRegulatorySubstitution",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "allowed",
"source" : [
{
"context" : "src",
"element" : "allowed",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "allowed",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeRegulatoryMaxDispense",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "quantity",
"source" : [
{
"context" : "src",
"element" : "quantity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "quantity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "period",
"source" : [
{
"context" : "src",
"element" : "period",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "period",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "MedicationKnowledgeDefinitional",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "drugCharacteristic",
"variable" : "t"
},
{
"context" : "t",
"element" : "type",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "valueCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "value",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "drugCharacteristic",
"variable" : "t"
},
{
"context" : "t",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "valueString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "value",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "drugCharacteristic",
"variable" : "t"
},
{
"context" : "t",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "valueQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "value",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "drugCharacteristic",
"variable" : "t"
},
{
"context" : "t",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "valueBase64Binary",
"source" : [
{
"context" : "src",
"type" : "base64Binary",
"element" : "value",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "drugCharacteristic",
"variable" : "t"
},
{
"context" : "t",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.